
#include "kernel.h"
#include "screen.h"

void KMain()
{
    int n = PrintString("D.T.OS\n");

    uint base = 0x12345;
    uint limit = 0xABCD;
    ushort attr = 0x4098;

    Descriptor desc = {0};
    SetDescValue(&desc, base, limit, attr);

    base = 0;
    limit = 0;
    attr = 0;
    GetDescValue(&desc, &base, &limit, &attr);

    PrintIntHex(base);
    PrintChar('\n');    
    PrintIntHex(limit);
    PrintChar('\n');    
    PrintIntHex(attr);
    PrintChar('\n');    

}
